
import Request from '../util/request'

export default class Group extends Request {

  // 产品中的团
  getGroupList(data) {
    return this.request({
      url: '/h5/group/group-by-product',
      data
    })
  }

  // 团粉丝
  getFansList(data) {
    return this.request({
      url: '/h5/group/fans-by-group',
      data
    })
  }

  // 所有团
  getGroupAll(data) {
    return this.request({
      url: '/h5/group/group-all',
      data
    })
  }

  // 单个团
  getGroup(data) {
    return this.request({
      url: '/h5/group/view-by-group',
      data
    })
  }

  // 素材库
  materialList(data) {
    return this.request({
      url: '/h5/uni/material/list',
      data
    })
  }

}
